﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Dora.Tools.Enums.Employees
{

    /// <summary>
    /// 员工操作类型
    /// </summary>
    /// <remarks>
    /// 登录方式 0用户名1钉钉
    /// </remarks>
    public enum EmployeeOperationType
    {
        /// <summary>
        /// 错误
        /// </summary>
        [Description("错误")]
        Error = 0,
        /// <summary>
        /// 更新标签
        /// </summary>
        [Description("更新标签")]
        UpdateTags = 1,
        /// <summary>
        /// 设置上级
        /// </summary>
        [Description("设置上级")]
        SetParentId = 2,
        /// <summary>
        /// 设置员工的推荐人
        /// </summary>
        [Description("设置推荐人")]
        SetRecommendId = 3,
        /// <summary>
        /// 修改密码
        /// </summary>
        [Description("修改密码")]
        UpdatePassword = 4,
        /// <summary>
        /// 重置密码
        /// </summary>
        [Description("重置密码")]
        ResetPassword = 5,
        /// <summary>
        /// 权限创建
        /// </summary>
        [Description("权限创建")]
        PermissionCreate = 6,
        /// <summary>
        /// 权限修改
        /// </summary>
        [Description("权限修改")]
        PermissionUpdate = 7,
        /// <summary>
        /// 权限删除
        /// </summary>
        [Description("权限删除")]
        PermissionDelete = 8,
        /// <summary>
        /// 批量禁用角色
        /// </summary>
        [Description("批量禁用角色")]
        RoleBatchDisable = 9,
        /// <summary>
        /// 批量启用角色
        /// </summary>
        [Description("批量启用角色")]
        RoleBatchEnable =10,
        /// <summary>
        /// 权限创建
        /// </summary>
        [Description("角色创建")]
        RolenCreate = 11,
        /// <summary>
        /// 权限修改
        /// </summary>
        [Description("角色修改")]
        RoleUpdate = 12,
        /// <summary>
        /// 权限删除
        /// </summary>
        [Description("角色删除")]
        RoleDelete = 13,
        /// <summary>
        /// 批量保存角色权限
        /// </summary>
        [Description("批量保存角色权限")]
        SaveRolePermission = 14,
        /// <summary>
        /// 系统创建
        /// </summary>
        [Description("系统创建")]
        SystemCreate = 15,
        /// <summary>
        /// 系统修改
        /// </summary>
        [Description("系统修改")]
        SystemUpdate = 16,
        /// <summary>
        /// 系统删除
        /// </summary>
        [Description("系统删除")]
        SystemDelete = 17,
        /// <summary>
        /// 系统模块创建
        /// </summary>
        [Description("系统模块创建")]
        SystemModuleCreate = 18,
        /// <summary>
        /// 系统修改
        /// </summary>
        [Description("系统模块修改")]
        SystemModuleUpdate = 19,
        /// <summary>
        /// 系统删除
        /// </summary>
        [Description("系统模块删除")]
        SystemModuleDelete = 20
    }

}
